<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>

<%@ taglib prefix="s" uri="/struts-tags" %> 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>最新课题</title>
<link type="text/css" rel="stylesheet" href="../css/main.css" />
<link type="text/css" rel="stylesheet" href="../css/search.css" />
<script type="text/javascript" src="../script/jquery.js" ></script>
<script type="text/javascript" src="../script/main_ui_control.js"></script>
<script type="text/javascript" src="../script/search.js"></script>

</head>
  
  <body>
  
   <ul class="result_list">
    	<li class="head">
            <ul>
                <li class="sub_id">课题ID</li>
                <li class="sub_name">课题名</li>
                <li class="sub_teacher">老师名</li>
                <li class="sub_area">研究领域</li>
                <li class="sub_time">发布时间</li>
            </ul>
        </li> 		
   		<s:iterator value="#request.searchProjectByGardenList" id="project">
   		<li>
   		   <ul>
   			<li class="sub_id"><a href="projectAction!showProject?Pid=<s:property value='#project[0]'/>"><s:property value="#project[0]"/></a></li>
   			<li class="sub_name"><a href="projectAction!showProject?Pid=<s:property value='#project[0]'/>"><s:property value="#project[1]"/></a></li>
   			<li class="sub_teacher"><a href="projectAction!showProject?Pid=<s:property value='#project[0]'/>"><s:property value="#project[2]"/></a></li>
   			<li class="sub_area"><a href="projectAction!showProject?Pid=<s:property value='#project[0]'/>"><s:property value="#project[3]"/></a></li>
   			<li class="sub_time"><a href="projectAction!showProject?Pid=<s:property value='#project[0]'/>"><fmt:formatDate value="${project[4]}"  pattern="yyyy-MM-dd HH:mm"/></a></li>

   		     </ul>
        </li>
   		
   		</s:iterator>
   		
     </ul>
  </body>
</html>
